0 رای
وضعیت موجودی موجود

قیمت قبلی: 2,820,000 ریال
قیمت: 2,420,000 ریال

 



Product details

  • Publisher ‏ : ‎ Pragmatic Bookshelf; 1st edition (December 15, 2015)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 202 pages
  • ISBN-10 ‏ : ‎ 1680500694
  • ISBN-13 ‏ : ‎ 978-1680500691

 

کتاب Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It

You don't have to accept slow Ruby or Rails performance. In this comprehensive guide to Ruby optimization, you'll learn how to write faster Ruby code--but that's just the beginning. See exactly what makes Ruby and Rails code slow, and how to fix it. Alex Dymo will guide you through perils of memory and CPU optimization, profiling, measuring, performance testing, garbage collection, and tuning. You'll find that all those "hard" things aren't so difficult after all, and your code will run orders of magnitude faster.

This is the first book ever that consolidates all the Ruby performance optimization advice in one place. It's your comprehensive guide to memory optimization, CPU optimization, garbage collector tuning, profiling, measurements, performance testing, and more.

You'll go from performance rookie to expert. First, you'll learn the best practices for writing Ruby code that's easy not only on the CPU, but also on memory, and that doesn't trigger the dreaded garbage collector. You'll find out that garbage collection accounts for 80% of slowdowns, and often takes more than 50% of your program's execution time. And you'll discover the bottlenecks in Rails code and learn how selective attribute loading and preloading can mitigate the performance costs of ActiveRecord.

As you advance to Ruby performance expert, you'll learn how profile your code, how to make sense out of profiler reports, and how to make optimization decisions based on them. You'll make sure slow code doesn't creep back into your Ruby application by writing performance tests, and you'll learn the right way to benchmark Ruby.

And finally, you'll dive into the Ruby interpreter internals to really understand why garbage collection makes Ruby so slow, and how you can tune it up.

What You Need:

Some version of Ruby. The advice from this book applies to all modern Ruby versions from 1.9 to 2.2. 80% of the material will also be useful for legacy Ruby 1.8 users, and there is 1.8-specific advice as well.

منابع کتاب کتاب Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It

لازم نیست عملکرد کند Ruby یا Rails را بپذیرید. در این راهنمای جامع بهینه‌سازی روبی، یاد می‌گیرید که چگونه سریع‌تر کد روبی بنویسید - اما این فقط شروع است. دقیقاً ببینید چه چیزی باعث کندی کد Ruby and Rails می شود و چگونه آن را برطرف کنید. Alex Dymo شما را از طریق خطرات بهینه سازی حافظه و CPU، پروفایل، اندازه گیری، تست عملکرد، جمع آوری زباله و تنظیم راهنمایی می کند. متوجه خواهید شد که همه آن چیزهای "سخت" به هر حال چندان دشوار نیستند، و کد شما دستورات بزرگی را سریعتر اجرا می کند.

این اولین کتابی است که تمام توصیه‌های بهینه‌سازی عملکرد روبی را در یک مکان ادغام می‌کند. این راهنمای جامع شما برای بهینه‌سازی حافظه، بهینه‌سازی CPU، تنظیم جمع‌آوری زباله، پروفایل‌سازی، اندازه‌گیری، تست عملکرد و موارد دیگر است.

شما از یک تازه کار به یک متخصص تبدیل خواهید شد. ابتدا، بهترین روش‌ها برای نوشتن کد روبی را یاد می‌گیرید که نه تنها بر روی CPU، بلکه در حافظه نیز آسان است، و باعث ایجاد آشغال‌گیر مخوف نمی‌شود. متوجه خواهید شد که جمع آوری زباله 80 درصد کاهش سرعت را به خود اختصاص می دهد و اغلب بیش از 50 درصد از زمان اجرای برنامه شما را می گیرد. و شما تنگناها را در کد Rails کشف خواهید کرد و خواهید آموخت که چگونه بارگذاری و بارگذاری اولیه ویژگی انتخابی می تواند هزینه های عملکرد ActiveRecord را کاهش دهد.

همانطور که به سمت متخصص عملکرد Ruby پیش می روید، یاد می گیرید که چگونه کد خود را نمایه کنید، چگونه گزارش های پروفایلر را معنا کنید و چگونه بر اساس آنها تصمیمات بهینه سازی بگیرید. با نوشتن تست‌های عملکرد، مطمئن خواهید شد که کدهای آهسته به برنامه Ruby شما بازنمی‌گردند و راه درست برای محک زدن روبی را یاد خواهید گرفت.

و در نهایت، شما به درونیات مترجم Ruby شیرجه خواهید زد تا واقعاً بفهمید که چرا جمع‌آوری زباله روبی را بسیار کند می‌کند و چگونه می‌توانید آن را تنظیم کنید.

آنچه شما نیاز دارید:

نسخه ای از روبی. توصیه های این کتاب برای تمام نسخه های روبی مدرن از 1.9 تا 2.2 اعمال می شود. 80 درصد مطالب نیز برای کاربران قدیمی Ruby 1.8 مفید خواهد بود، و همچنین توصیه های خاص 1.8 نیز وجود دارد.

نظرات کاربران درباره کتاب Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It

نظری در مورد این محصول توسط کاربران ارسال نگردیده است.
اولین نفری باشید که در مورد کتاب Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It نظر می دهد.

ارسال نظر درباره کتاب Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It

لطفا توجه داشته باشید که ایمیل شما منتشر نخواهد شد.

برچسب های مرتبط با کتاب Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It

خرید اینترنتی کتاب های زبان اصلی کامپیوتر خرید اینترنتی کتاب های لاتین Ruby Programming Languages

بر اساس سلیقه شما...

  Product details Publisher ‏ : ‎  New Academy ...
5,130,000 ریال
  Product details Publisher ‏ : ‎  Wrox; 1st e ...
3,250,000 ریال
  Product details Series:  USMLE Prep Paperback: &nbs ...
5,800,000 ریال
Product details Publisher ‏ : ‎  Mcgraw Hill Higher Educa ...
6,160,000 ریال
  Product details Publisher ‏ : ‎  For Dummies ...
3,760,000 ریال
  Product details Paperback Publisher:  ISC Medical; ...
15,060,000 ریال
  Product details Publisher ‏ : ‎  For Dummies ...
4,000,000 ریال

codebazan

طراحی و اجرا: فروشگاه ساز سبدخرید